﻿/*
 * Programer: JR Padfield
 * Description: Handles all the content for the game.
 * Version: 1
 * Date: 12/17/13 * 
 */

using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;

namespace TheWorld.Global
{
    class GameContentManager
    {
        // XNA Game Content //
        public ContentManager gameContent;

        // Private Constructor
        private GameContentManager() { }

        // Singleton Accessor
        private static GameContentManager instance;
        public static GameContentManager Instance
        {
            get
            {
                if (instance == null)
                    instance = new GameContentManager();

                return instance;
            }
        }

        // Init
        public void initContentManager(GameServiceContainer Services)
        {
            gameContent = new ContentManager(Services, "Content");
        }
    }
}
